<?php
// Options
$contentOptions = array(
	0 => array(
		"text" => "Añadir",
		"link" => Utils::generateSEOUrl($lang, $section, "add"),
		"icon" => IMAGES_URL."icons/small/white/Home.png"
	),
);
$content->assign("contentOptions", $contentOptions);

// Content
$languages = $db->getLanguages();
if (is_array($languages)) {
	for ($i=0; $i<count($languages); $i++) {
		$languages[$i]["deleteLink"] = Utils::generateSEOUrl($lang, $section, "delete", $languages[$i]["id"]);
	}
}
$content->assign("languages", $languages);
?>
